import {
  COMMON_NUM,
  COMMON_MESSAGE
} from "./type"; //引入常量


//构建action函数
export function commonNum(commonNum) {
  return {
    type: COMMON_NUM,
    commonNum
  }
}

export function commonMessage(commonMessage) {
  return {
    type: COMMON_MESSAGE,
    commonMessage,
  }
}